﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.Application
{
    public class LoginInput
    {
        /// <summary>
        /// 用户名
        /// </summary>
        /// <example>admin</example>
        [Required, MinLength(3)]
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        /// <example>123456</example>
        [Required, MinLength(5)]
        public string UserPass { get; set; }


        ///// <summary>
        ///// openid
        ///// </summary>
        ///// <example></example>
        //[MaxLength(50)]
        //public string openid { get; set; }


        ///// <summary>
        ///// 终端   pc 、 mobile
        ///// </summary>
        //[MaxLength(10)]
        //public string terminal { get; set; }

    }
}
